package com.example.epic.dao;

import com.example.epic.bean.Student;
import com.example.epic.bean.WeChatUser;
import org.springframework.stereotype.Repository;

@Repository
public interface StudentDao {

    Student findStudentByOpenid(String openId);

    Student findStudentByStudentId(String studentId);

    void updateStudent(Student student);

    void saveStudent(Student student);

    void deleteStudent(Integer id);

    void bindWeChat(WeChatUser weChatUser);
}
